<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: ns3::DistTag Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d1/def/classns3_1_1_dist_tag.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../dc/d7b/classns3_1_1_dist_tag-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">ns3::DistTag Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>This class implements a tag that carries the distance to destination node of a packet to the IP layer.  
 <a href="../../d1/def/classns3_1_1_dist_tag.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Inheritance diagram for ns3::DistTag:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d9/d75/classns3_1_1_dist_tag__inherit__graph.png" border="0" usemap="#ans3_1_1_dist_tag_inherit__map" alt="Inheritance graph"/></div>
<map name="ans3_1_1_dist_tag_inherit__map" id="ans3_1_1_dist_tag_inherit__map">
<area shape="rect" title="This class implements a tag that carries the distance to destination node of a packet to the IP layer..." alt="" coords="5,79,107,104"/>
<area shape="rect" href="../../d0/d57/class_tag.html" title=" " alt="" coords="34,5,78,31"/>
<area shape="poly" title=" " alt="" coords="59,44,59,79,53,79,53,44"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="../../closed.png" alt="+"/> Collaboration diagram for ns3::DistTag:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../dc/ded/classns3_1_1_dist_tag__coll__graph.png" border="0" usemap="#ans3_1_1_dist_tag_coll__map" alt="Collaboration graph"/></div>
<map name="ans3_1_1_dist_tag_coll__map" id="ans3_1_1_dist_tag_coll__map">
<area shape="rect" title="This class implements a tag that carries the distance to destination node of a packet to the IP layer..." alt="" coords="18,93,119,119"/>
<area shape="rect" href="../../d0/d57/class_tag.html" title=" " alt="" coords="5,5,49,31"/>
<area shape="poly" title=" " alt="" coords="41,42,65,92,61,94,36,44"/>
<area shape="rect" title=" " alt="" coords="74,5,149,31"/>
<area shape="poly" title=" " alt="" coords="102,44,77,94,72,92,97,42"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abe9bfd761ed8e09ac072c4f14424e55c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/def/classns3_1_1_dist_tag.html#abe9bfd761ed8e09ac072c4f14424e55c">DistTag</a> ()</td></tr>
<tr class="separator:abe9bfd761ed8e09ac072c4f14424e55c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b25d2447d470067386025456e03b154"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/def/classns3_1_1_dist_tag.html#a6b25d2447d470067386025456e03b154">Deserialize</a> (TagBuffer <a class="el" href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">i</a>) override</td></tr>
<tr class="separator:a6b25d2447d470067386025456e03b154"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdba4f115af1156fa9971edb1f9dfa13"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/def/classns3_1_1_dist_tag.html#abdba4f115af1156fa9971edb1f9dfa13">GetDistance</a> (void) const</td></tr>
<tr class="memdesc:abdba4f115af1156fa9971edb1f9dfa13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the tag's distance.  <br /></td></tr>
<tr class="separator:abdba4f115af1156fa9971edb1f9dfa13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5025141d800cc5ac8063ec48f1f7e7a"><td class="memItemLeft" align="right" valign="top">TypeId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/def/classns3_1_1_dist_tag.html#ab5025141d800cc5ac8063ec48f1f7e7a">GetInstanceTypeId</a> (void) const override</td></tr>
<tr class="separator:ab5025141d800cc5ac8063ec48f1f7e7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20991b909c3d2519cd3d5a9ee657cbcb"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/def/classns3_1_1_dist_tag.html#a20991b909c3d2519cd3d5a9ee657cbcb">GetSerializedSize</a> (void) const override</td></tr>
<tr class="separator:a20991b909c3d2519cd3d5a9ee657cbcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca5f873c15bc55082d47b77320a1d32d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/def/classns3_1_1_dist_tag.html#aca5f873c15bc55082d47b77320a1d32d">Print</a> (std::ostream &amp;os) const override</td></tr>
<tr class="separator:aca5f873c15bc55082d47b77320a1d32d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a853b0c1b77e9b530509d11890526c4d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/def/classns3_1_1_dist_tag.html#a853b0c1b77e9b530509d11890526c4d2">Serialize</a> (TagBuffer <a class="el" href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">i</a>) const override</td></tr>
<tr class="separator:a853b0c1b77e9b530509d11890526c4d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc8616b9abd64dd7a0ebf3d876f1dcb2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/def/classns3_1_1_dist_tag.html#afc8616b9abd64dd7a0ebf3d876f1dcb2">SetDistance</a> (uint32_t distance)</td></tr>
<tr class="memdesc:afc8616b9abd64dd7a0ebf3d876f1dcb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the tag's distance.  <br /></td></tr>
<tr class="separator:afc8616b9abd64dd7a0ebf3d876f1dcb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:af743f1a0ee10806fdafec9dcf4219245"><td class="memItemLeft" align="right" valign="top">static TypeId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/def/classns3_1_1_dist_tag.html#af743f1a0ee10806fdafec9dcf4219245">GetTypeId</a> (void)</td></tr>
<tr class="memdesc:af743f1a0ee10806fdafec9dcf4219245"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Type ID.  <br /></td></tr>
<tr class="separator:af743f1a0ee10806fdafec9dcf4219245"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:aad9b2f0de6c7e0f7a1f382a34ec15a45"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/def/classns3_1_1_dist_tag.html#aad9b2f0de6c7e0f7a1f382a34ec15a45">m_distance</a></td></tr>
<tr class="separator:aad9b2f0de6c7e0f7a1f382a34ec15a45"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class implements a tag that carries the distance to destination node of a packet to the IP layer. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00063">63</a> of file <a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="abe9bfd761ed8e09ac072c4f14424e55c" name="abe9bfd761ed8e09ac072c4f14424e55c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe9bfd761ed8e09ac072c4f14424e55c">&#9670;&#160;</a></span>DistTag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ns3::DistTag::DistTag </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00093">93</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6b25d2447d470067386025456e03b154" name="a6b25d2447d470067386025456e03b154"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b25d2447d470067386025456e03b154">&#9670;&#160;</a></span>Deserialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DistTag::Deserialize </td>
          <td>(</td>
          <td class="paramtype">TagBuffer&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00144">144</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, and <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00101">m_distance</a>.</p>

</div>
</div>
<a id="abdba4f115af1156fa9971edb1f9dfa13" name="abdba4f115af1156fa9971edb1f9dfa13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abdba4f115af1156fa9971edb1f9dfa13">&#9670;&#160;</a></span>GetDistance()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DistTag::GetDistance </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the tag's distance. </p>
<dl class="section return"><dt>Returns</dt><dd>the distance </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00106">106</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00101">m_distance</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00253">ns3::Ipv4DGRRouting::LookupDGRRoute()</a>.</p>
<div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/def/classns3_1_1_dist_tag_abdba4f115af1156fa9971edb1f9dfa13_icgraph.png" border="0" usemap="#ad1/def/classns3_1_1_dist_tag_abdba4f115af1156fa9971edb1f9dfa13_icgraph" alt=""/></div>
<map name="ad1/def/classns3_1_1_dist_tag_abdba4f115af1156fa9971edb1f9dfa13_icgraph" id="ad1/def/classns3_1_1_dist_tag_abdba4f115af1156fa9971edb1f9dfa13_icgraph">
<area shape="rect" title="Get the tag&#39;s distance." alt="" coords="421,45,611,70"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a552819000c07190404d6bd5db6d1ce84" title=" " alt="" coords="213,37,373,77"/>
<area shape="poly" title=" " alt="" coords="407,60,373,60,373,55,407,55"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a7e7c34d7e0a922980bf3fdf62f9bbe1b" title=" " alt="" coords="5,5,165,45"/>
<area shape="poly" title=" " alt="" coords="199,46,165,40,166,35,200,40"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa949f02ca52008f8201ee9915fdd0191" title=" " alt="" coords="5,69,165,109"/>
<area shape="poly" title=" " alt="" coords="200,74,166,80,165,74,199,69"/>
</map>
</div>

</div>
</div>
<a id="ab5025141d800cc5ac8063ec48f1f7e7a" name="ab5025141d800cc5ac8063ec48f1f7e7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5025141d800cc5ac8063ec48f1f7e7a">&#9670;&#160;</a></span>GetInstanceTypeId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeId ns3::DistTag::GetInstanceTypeId </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00123">123</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00113">GetTypeId()</a>.</p>
<div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-3-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/def/classns3_1_1_dist_tag_ab5025141d800cc5ac8063ec48f1f7e7a_cgraph.png" border="0" usemap="#ad1/def/classns3_1_1_dist_tag_ab5025141d800cc5ac8063ec48f1f7e7a_cgraph" alt=""/></div>
<map name="ad1/def/classns3_1_1_dist_tag_ab5025141d800cc5ac8063ec48f1f7e7a_cgraph" id="ad1/def/classns3_1_1_dist_tag_ab5025141d800cc5ac8063ec48f1f7e7a_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,192,45"/>
<area shape="rect" href="../../d1/def/classns3_1_1_dist_tag.html#af743f1a0ee10806fdafec9dcf4219245" title="Get the Type ID." alt="" coords="240,13,415,38"/>
<area shape="poly" title=" " alt="" coords="193,23,226,23,226,28,193,28"/>
</map>
</div>

</div>
</div>
<a id="a20991b909c3d2519cd3d5a9ee657cbcb" name="a20991b909c3d2519cd3d5a9ee657cbcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20991b909c3d2519cd3d5a9ee657cbcb">&#9670;&#160;</a></span>GetSerializedSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DistTag::GetSerializedSize </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00129">129</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

</div>
</div>
<a id="af743f1a0ee10806fdafec9dcf4219245" name="af743f1a0ee10806fdafec9dcf4219245"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af743f1a0ee10806fdafec9dcf4219245">&#9670;&#160;</a></span>GetTypeId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeId ns3::DistTag::GetTypeId </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the Type ID. </p>
<dl class="section return"><dt>Returns</dt><dd>the object TypeId </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00113">113</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00123">GetInstanceTypeId()</a>.</p>
<div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-4-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/def/classns3_1_1_dist_tag_af743f1a0ee10806fdafec9dcf4219245_icgraph.png" border="0" usemap="#ad1/def/classns3_1_1_dist_tag_af743f1a0ee10806fdafec9dcf4219245_icgraph" alt=""/></div>
<map name="ad1/def/classns3_1_1_dist_tag_af743f1a0ee10806fdafec9dcf4219245_icgraph" id="ad1/def/classns3_1_1_dist_tag_af743f1a0ee10806fdafec9dcf4219245_icgraph">
<area shape="rect" title="Get the Type ID." alt="" coords="240,13,415,38"/>
<area shape="rect" href="../../d1/def/classns3_1_1_dist_tag.html#ab5025141d800cc5ac8063ec48f1f7e7a" title=" " alt="" coords="5,5,192,45"/>
<area shape="poly" title=" " alt="" coords="226,28,192,28,192,23,226,23"/>
</map>
</div>

</div>
</div>
<a id="aca5f873c15bc55082d47b77320a1d32d" name="aca5f873c15bc55082d47b77320a1d32d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca5f873c15bc55082d47b77320a1d32d">&#9670;&#160;</a></span>Print()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DistTag::Print </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00153">153</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00101">m_distance</a>.</p>

</div>
</div>
<a id="a853b0c1b77e9b530509d11890526c4d2" name="a853b0c1b77e9b530509d11890526c4d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a853b0c1b77e9b530509d11890526c4d2">&#9670;&#160;</a></span>Serialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DistTag::Serialize </td>
          <td>(</td>
          <td class="paramtype">TagBuffer&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00136">136</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, and <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00101">m_distance</a>.</p>

</div>
</div>
<a id="afc8616b9abd64dd7a0ebf3d876f1dcb2" name="afc8616b9abd64dd7a0ebf3d876f1dcb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc8616b9abd64dd7a0ebf3d876f1dcb2">&#9670;&#160;</a></span>SetDistance()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::DistTag::SetDistance </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>distance</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the tag's distance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">distance</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00099">99</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00101">m_distance</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00253">ns3::Ipv4DGRRouting::LookupDGRRoute()</a>.</p>
<div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-5-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d1/def/classns3_1_1_dist_tag_afc8616b9abd64dd7a0ebf3d876f1dcb2_icgraph.png" border="0" usemap="#ad1/def/classns3_1_1_dist_tag_afc8616b9abd64dd7a0ebf3d876f1dcb2_icgraph" alt=""/></div>
<map name="ad1/def/classns3_1_1_dist_tag_afc8616b9abd64dd7a0ebf3d876f1dcb2_icgraph" id="ad1/def/classns3_1_1_dist_tag_afc8616b9abd64dd7a0ebf3d876f1dcb2_icgraph">
<area shape="rect" title="Set the tag&#39;s distance." alt="" coords="421,45,608,70"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a552819000c07190404d6bd5db6d1ce84" title=" " alt="" coords="213,37,373,77"/>
<area shape="poly" title=" " alt="" coords="408,60,374,60,374,55,408,55"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a7e7c34d7e0a922980bf3fdf62f9bbe1b" title=" " alt="" coords="5,5,165,45"/>
<area shape="poly" title=" " alt="" coords="199,46,165,40,166,35,200,40"/>
<area shape="rect" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa949f02ca52008f8201ee9915fdd0191" title=" " alt="" coords="5,69,165,109"/>
<area shape="poly" title=" " alt="" coords="200,74,166,80,165,74,199,69"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aad9b2f0de6c7e0f7a1f382a34ec15a45" name="aad9b2f0de6c7e0f7a1f382a34ec15a45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad9b2f0de6c7e0f7a1f382a34ec15a45">&#9670;&#160;</a></span>m_distance</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::DistTag::m_distance</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00101">101</a> of file <a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00144">Deserialize()</a>, <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00106">GetDistance()</a>, <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00153">Print()</a>, <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00136">Serialize()</a>, and <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00099">SetDistance()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>model/<a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a></li>
<li>model/<a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d7/d2e/namespacens3.html">ns3</a></li><li class="navelem"><a class="el" href="../../d1/def/classns3_1_1_dist_tag.html">DistTag</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
